import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import Vant from "vant";
import "vant/lib/index.css";
Vue.use(Vant);

import axios from "axios";
axios.defaults.baseURL = "http://127.0.0.1:3000/";
Vue.prototype.axios = axios;

import { Swipe, SwipeItem } from "vant";

Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.config.productionTip = false;

import { mapState } from "vuex";

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");

